/*
 * MainEntryPoint.java
 *
 * Created on 2008年5月6日, 上午10:37
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package org.yournamehere.client;

import com.google.gwt.core.client.EntryPoint;

import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONString;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;

/**
 *
 * @author odpsoft
 */
public class MainEntryPoint implements EntryPoint {

    public void onModuleLoad() {
        Button b = new Button("Click me", new ClickListener() {

            public void onClick(Widget sender) {
                Window.confirm("Hello, AJAX");
            }
        });

        RootPanel.get().add(b);
        RootPanel.get().add(new GWTServiceUsageExample());
    }
}
